package com.youease.chris.utils
{
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	
	public class GraphicTile extends IsoObject
	{
			public var graphicData:BitmapData;
			
			public function GraphicTile(size:Number, graphicData:BitmapData, xoffset:Number, yoffset:Number):void
			{
				super(size);
				
				var bitmap:Bitmap = new Bitmap();
				this.graphicData = graphicData;
				bitmap.bitmapData = this.graphicData;
				bitmap.x = -xoffset;
				bitmap.y = -yoffset;
				addChild(bitmap);
			}
	}
}